/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package BUS;

import DAO.ChungTu_DAO;
import DTO.ChungTu_DTO;
import java.sql.SQLException;
import java.util.ArrayList;

/**
 *
 * @author Phung
 */
public class ChungTu_BUS {
    public static String Get_MaCT() throws SQLException{
        return ChungTu_DAO.Get_MaCT();
    }
    public static ArrayList<ChungTu_DTO> GetALL(){
        return ChungTu_DAO.GetALL();
    }
    public static boolean Insert(ChungTu_DTO ChungTu){
        return ChungTu_DAO.Insert(ChungTu);
    }
    public static boolean Update(ChungTu_DTO ChungTu){
        return ChungTu_DAO.Update(ChungTu);
    }   
    public static boolean Delete(String MaCT){
        return ChungTu_DAO.Delete(MaCT);
    }
    
}
